package com.oa.bean.student;
/**
 * 电脑领用管理表
 * */
public class Computer {
	private int comid;	//电脑编号
	private String coma;	//电脑部件
	private String comb;	//电脑整体
	private int stuid;		//学生编号
	
	private Student students;
	
	public Computer(){}

	public Computer(int comid, String coma, String comb, int stuid) {
		this.comid = comid;
		this.coma = coma;
		this.comb = comb;
		this.stuid = stuid;
	}

	public int getComid() {
		return comid;
	}

	public void setComid(int comid) {
		this.comid = comid;
	}

	public String getComa() {
		return coma;
	}

	public void setComa(String coma) {
		this.coma = coma;
	}

	public String getComb() {
		return comb;
	}

	public void setComb(String comb) {
		this.comb = comb;
	}

	public int getStuid() {
		return stuid;
	}

	public void setStuid(int stuid) {
		this.stuid = stuid;
	}

	public Student getStudents() {
		return students;
	}

	public void setStudents(Student students) {
		this.students = students;
	}

	@Override
	public String toString() {
		return "Computer [comid=" + comid + ", coma=" + coma + ", comb=" + comb + ", stuid=" + stuid + "]";
	}
	
	
}
